package com.hsh.maoduo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName order_goods
 */
@TableName(value = "order_goods")
@Data
@Accessors(chain = true)
public class OrderGoods implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单id
     */
    private String orderNo;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 销售id
     */
    private Integer shopId;

    /**
     * 商品数量
     */
    private Integer num;

    /**
     * 快递单号
     */
    private String expressNum;

    /**
     * 备注
     */
    private String note;

    /**
     * 发货时间
     */
    private Date createTime;

    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}